/**
 * <p>An element conforming to the Atom Date Construct.  The data type 
 * implementation for this element is provided by the AtomDate class.</p>
 */
public interface DateTime extends  Element {
  
  /**
   * Returns the content value of the element as an AtomDate object 
   * @return The Atom Date value of this element
   */
  AtomDate getValue();
  
  /**
   * Returns the content value of the element as a string conforming to 
   * RFC-3339
   * @return The serialized string form of this element
   */
  String getString();
  
  /**
   * Sets the content value of the element
   * @param dateTime the Atom Date value
   */
  DateTime setValue(AtomDate dateTime);
  
  /**
   * Sets the content value of the element
   * @param date The serialized string value
   */
  DateTime setString(String date);
}
